<?php
/* @var $this LoginController */
/* @var $error string */

$this->addCssFile('login.css');
?>
<div id="bg">
    <div class="container">
        <div class="logo">
            <img src="<?php echo Yii::app()->baseUrl ?>/img/logo.png"/>
        </div>
        <form class="form-signin" method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
            <?php
                if ($error) {
                    echo '<div class="alert alert-danger">', htmlspecialchars($error), '</div>';
                }
            ?>

            <input type="text" class="form-control" placeholder="Selamat Datang" name="ktp">
            <input type="password" class="form-control" placeholder="Silakan Tempelkan KTP" name="password">
            <button class="btn btn-lg btn-primary btn-block btn-login" type="submit">Masuk</button>
        </form>
    </div>
</div>
